package component.scheduler;

import javax.annotation.Resource;

import component.Scheduler;
import service.OrderService;

public class OrderConfirmScheduler implements Scheduler{
	
	@Resource(name="orderServiceImpl")
	private OrderService orderService;

	@Override
	public void schedule() {
		System.out.println("work..........");
		orderService.autoConfirm();
	}

}
